package com.hd.crdao.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Administrator on 2017/7/13 0013.
 *
 * 4S订单确认微信支付返回数据bean
 */
public class WXPayBean {

    /**
     * datatime : 2017-07-13 10:58:53
     * message : 处理成功
     * plMethod : W
     * plorder : W0713768921
     * success : 00
     * wxmessage : {"appid":"wx4b1b2d38e111414e","noncestr":"8Rx69QRsbb1dnzcW","out_trade_no":"W0713768921","package":"Sign=WXPay","partnerid":"1483762672","prepayid":"wx20170713111200fe2244b9ee0089288301","sign":"A02D75B6AA916947B8B895838786453F","timestamp":1499914737}
     */

    private String datatime;
    private String message;
    private String plMethod;
    private String plorder;
    private String success;
    private WxmessageBean wxmessage;

    public String getDatatime() {
        return datatime;
    }

    public void setDatatime(String datatime) {
        this.datatime = datatime;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPlMethod() {
        return plMethod;
    }

    public void setPlMethod(String plMethod) {
        this.plMethod = plMethod;
    }

    public String getPlorder() {
        return plorder;
    }

    public void setPlorder(String plorder) {
        this.plorder = plorder;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public WxmessageBean getWxmessage() {
        return wxmessage;
    }

    public void setWxmessage(WxmessageBean wxmessage) {
        this.wxmessage = wxmessage;
    }

    public static class WxmessageBean {
        /**
         * appid : wx4b1b2d38e111414e
         * noncestr : 8Rx69QRsbb1dnzcW
         * out_trade_no : W0713768921
         * package : Sign=WXPay
         * partnerid : 1483762672
         * prepayid : wx20170713111200fe2244b9ee0089288301
         * sign : A02D75B6AA916947B8B895838786453F
         * timestamp : 1499914737
         */

        private String appid;
        private String noncestr;
        private String out_trade_no;
        @SerializedName("package")
        private String packageX;
        private String partnerid;
        private String prepayid;
        private String sign;
        private int timestamp;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getOut_trade_no() {
            return out_trade_no;
        }

        public void setOut_trade_no(String out_trade_no) {
            this.out_trade_no = out_trade_no;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public int getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(int timestamp) {
            this.timestamp = timestamp;
        }
    }
}
